home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12229 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Files....
  5. Date: Fri, 29 Mar 96 22:31:27 GMT
  6. Organization: none
  7. Message-ID: <828138687snz@genesis.demon.co.uk>
  8. References: <1996Mar29.165002.3379@leeds.ac.uk>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <1996Mar29.165002.3379@leeds.ac.uk>
  15.            csyamc@scs.leeds.ac.uk "A M Casey" writes:
  16.  
  17. >Is there any way of checking whether or not a file is in use;
  18.  
  19. There is no way provided by the C language itself.
  20.  
  21. >ie I'm trying to write something to a file but it all goes horribly
  22. >wrong if two people try it.
  23.  
  24. C leaves this as undefined behaviour. Your particular OS/C implementation
  25. may provide a way but you should discuss that in a newsgroup relevant
  26. to that paticular OS/C implementation.
  27.  
  28. -- 
  29. -----------------------------------------
  30. Lawrence Kirby | fred@genesis.demon.co.uk
  31. Wilts, England | 70734.126@compuserve.com
  32. -----------------------------------------
  33.